﻿using Furion.CMS.Application.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Furion.CMS.Web.Core
{
    /// <summary>
    /// 文件上传提供者
    /// <para>
    /// 支持本地与OSS的方式存储
    /// </para>
    /// </summary>
    public interface IFileUploadProvider
    {
        /// <summary>
        /// 获取配置
        /// </summary>
        /// <returns></returns>
        UploadConfigre GetConfigre();
        /// <summary>
        /// 回调处理
        /// </summary>
        /// <param name="callbackParams">回调参数</param>
        /// <returns></returns>
        string CallbackHandler(ICloudCallbackModel callbackParams);
    }
}
